#include "scene.h"

scene::scene(QObject *parent) : QGraphicsScene(parent)
{
   int i=0;
   for(i=0;i<16;i++){
       this->items[i] = new item;
       this->items[i]->setPos(i/4*this->items[i]->boundingRect().width(),i%4*this->items[i]->boundingRect().height());
       this->addItem(this->items[i]);
   }
}
